broadway: Delete 2 files doing nothing
authorBenjamin Otte <otte@redhat.com>
Mon, 15 Apr 2013 13:54:50 +0000 (15:54 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 16 Apr 2013 13:30:14 +0000 (15:30 +0200)
A function was doing nothing but calling a function that was in its own
source file doing nothing but calling a function in its own source file
that did nothing.

gdk/broadway/Makefile.am
gdk/broadway/gdkdisplaymanager-broadway.c
gdk/broadway/gdkim-broadway.c [deleted file]
gdk/broadway/gdkmain-broadway.c [deleted file]
gdk/broadway/gdkprivate-broadway.h

index dd4b189550d0fed41c1b2b12eb628077733b390c..3a17eb2bfadd7c6eeea7fa39225afb1b3c2d91be 100644 (file)
@@ -60,9 +60,7 @@ libgdk_broadway_la_SOURCES =          \
        gdkeventsource.c        \
        gdkeventsource.h        \
        gdkglobals-broadway.c   \
-       gdkim-broadway.c        \
        gdkkeys-broadway.c      \
-       gdkmain-broadway.c      \
        gdkproperty-broadway.c  \
        gdkscreen-broadway.c    \
        gdkscreen-broadway.h    \
index 0cefe07fe31e6d194976377bb4b6f12b6f95eb0c..9fcd3a5624c15b37954a44868ea754cabe27ac20 100644 (file)
@@ -107,7 +107,6 @@ gdk_broadway_display_manager_lookup_keyval (GdkDisplayManager *manager,
 static void
 gdk_broadway_display_manager_init (GdkBroadwayDisplayManager *manager)
 {
-  _gdk_broadway_windowing_init ();
 }
 
 static void
diff --git a/gdk/broadway/gdkim-broadway.c b/gdk/broadway/gdkim-broadway.c
deleted file mode 100644 (file)
index 0bd67bc..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/*
- * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
- * file for a list of people on the GTK+ Team.  See the ChangeLog
- * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
- */
-
-#include "config.h"
-
-#include "gdkmain.h"
-#include "gdkinternals.h"
-#include "gdkdisplay-broadway.h"
-
-#include <locale.h>
-#include <stdlib.h>
-#include <string.h>
-
-void
-_gdk_broadway_initialize_locale (void)
-{
-}
diff --git a/gdk/broadway/gdkmain-broadway.c b/gdk/broadway/gdkmain-broadway.c
deleted file mode 100644 (file)
index 99809ef..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/*
- * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
- * file for a list of people on the GTK+ Team.  See the ChangeLog
- * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
- */
-
-#include "config.h"
-
-#include "gdkdisplay-broadway.h"
-#include "gdkinternals.h"
-#include "gdkprivate-broadway.h"
-#include "gdkintl.h"
-#include "gdkdeviceprivate.h"
-
-#include <glib/gprintf.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <limits.h>
-#include <errno.h>
-
-void
-_gdk_broadway_windowing_init (void)
-{
-  _gdk_broadway_initialize_locale ();
-}
index 89997e3e7b9dec62ab1bbdc8482c5ed0b4e49d11..d2a2912013d9cef99d782aae1cd3d828bfff1a95 100644 (file)
@@ -40,7 +40,6 @@
 #include "gdkbroadwaywindow.h"
 
 void _gdk_broadway_resync_windows (void);
-void _gdk_broadway_windowing_init (void);
 
 void     _gdk_broadway_window_register_dnd (GdkWindow      *window);
 GdkDragContext * _gdk_broadway_window_drag_begin (GdkWindow *window,
@@ -90,8 +89,6 @@ void _gdk_keymap_add_virtual_modifiers_compat (GdkKeymap       *keymap,
 gboolean _gdk_keymap_key_is_modifier   (GdkKeymap       *keymap,
                                        guint            keycode);
 
-void _gdk_broadway_initialize_locale (void);
-
 void _gdk_broadway_screen_events_init   (GdkScreen *screen);
 GdkVisual *_gdk_broadway_screen_get_system_visual (GdkScreen * screen);
 gint _gdk_broadway_screen_visual_get_best_depth (GdkScreen * screen);